package com.zuoyy.modules.system.repository;

import com.zuoyy.modules.common.BaseRepository;
import com.zuoyy.modules.system.domain.Dept;
import com.zuoyy.modules.system.domain.Menu;
import org.springframework.data.domain.Sort;

import java.util.List;

/**
 * @author 
 */
public interface DeptRepository extends BaseRepository<Dept, String> {

    List<Dept> findByPidAndIdNotAndStatus(Sort sort, String pid, String notId, int status);

}